<U:PRJVK x:Class="WPFExcelReport.SJHVK05"
                    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
                    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
                    xmlns:local="clr-namespace:ReflectionStudio.Components.UserControls;assembly=ReflectionStudio.Core" 
                    xmlns:ucd="clr-namespace:ReflectionStudio.Controls;assembly=ReflectionStudio.Controls" 
                     xmlns:WG="clr-namespace:WPFExcelReport;assembly=TWGBST"
                    xmlns:WD="clr-namespace:WPFExcelReport;assembly=TWDECK" 
                    xmlns:WS="clr-namespace:WPFExcelReport;assembly=TWASTAMM" 
                    xmlns:KD="clr-namespace:WPFExcelReport;assembly=TKDSTAMM"  
                    xmlns:GD="clr-namespace:WPFExcelReport;assembly=TGAAUF"  
                    xmlns:VP="clr-namespace:WPFExcelReport;assembly=TVVPACK"  
                    xmlns:VF="clr-namespace:WPFExcelReport;assembly=TVAFARBEN"
                     xmlns:AB="clr-namespace:WPFExcelReport;assembly=TABPOS"   
                    xmlns:VKK="clr-namespace:WPFExcelReport;assembly=TVKKOPF" 
                    xmlns:VKP="clr-namespace:WPFExcelReport;assembly=TVKPOS" 
                    xmlns:MU="clr-namespace:WPFExcelReport;assembly=TABAUFM"  
                     xmlns:AR="clr-namespace:WPFExcelReport;assembly=TABPR"   
                   xmlns:WK="clr-namespace:WPFExcelReport;assembly=TWASTKE" 
                    xmlns:BH="clr-namespace:WPFExcelReport;assembly=TBHSATZ"   
                      xmlns:BG="clr-namespace:WPFExcelReport;assembly=TBASTGA"   
                    xmlns:WS33="clr-namespace:WPFExcelReport;assembly=TWASTGA"   
                       xmlns:BS="clr-namespace:WPFExcelReport;assembly=TBSSATZ"   
                    xmlns:BC="clr-namespace:WPFExcelReport;assembly=TBSFARB"  
                     xmlns:CO="clr-namespace:WPFExcelReport;assembly=TICC_ABPOS_MCO" 
                    xmlns:MUX="clr-namespace:WPFExcelReport;assembly=TICC_ABAUFM" 
                    xmlns:ZB="clr-namespace:WPFExcelReport;assembly=TVKZUAB"  
                     xmlns:FL="clr-namespace:WPFExcelReport;assembly=TICC_FOLDERS"  
                    xmlns:ex="clr-namespace:WPFExcelReport.Controls;assembly=ExControls"   
                    xmlns:VR="clr-namespace:WPFExcelReport;assembly=TVRKOPF"  
                    xmlns:VRP="clr-namespace:WPFExcelReport;assembly=TVRPOS"
                    xmlns:VVT="clr-namespace:WPFExcelReport;assembly=TVVTLIEF"
                    xmlns:U="clr-namespace:WPFExcelReport;assembly=ITXUI"
                    xmlns:ZA="clr-namespace:WPFExcelReport;assembly=TZABED"   
                    xmlns:MAH="clr-namespace:MahApps.Metro.Controls;assembly=MahApps.Metro"
                    xmlns:Localization="clr-namespace:Localization;assembly=Localization"  
                     xmlns:WF="clr-namespace:WPFExcelReport;assembly=TICC_WFEVENTS"  
                    xmlns:me="clr-namespace:WPFExcelReport"
                    xmlns:TXT="clr-namespace:WPFExcelReport;assembly=TTXTIND"  
                    Name="TV"   
>
    <U:PRJVK.Resources>
        <ucd:BoolToVisibilityConverter x:Key="bv"/>
        <ucd:Divideby10000 x:Key="dw"/>
        <ucd:NOTBoolToVisibilityConverter x:Key="nbv"/>
        <ucd:GB2312Convert8859P1  x:Key="gb2312"/>
        <ucd:NOTConverter  x:Key="not"/>
    </U:PRJVK.Resources>
    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto"></RowDefinition>
            <RowDefinition Height="1*"></RowDefinition>
            <RowDefinition Height="Auto"></RowDefinition>
            <RowDefinition Height="Auto"></RowDefinition>
            <RowDefinition Height="Auto"></RowDefinition>
            <RowDefinition Height="Auto"></RowDefinition>
        </Grid.RowDefinitions>
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="1*"></ColumnDefinition>
            <ColumnDefinition Width="Auto"></ColumnDefinition>
        </Grid.ColumnDefinitions>
        <WrapPanel Grid.Row="0"  Visibility="{Binding KDBLOCK,ElementName=cKD,Converter={StaticResource bv}}">
            <TextBlock    Margin="5"
                              Foreground="Red"
                            Text="{Binding Source={Localization:Translate Word=KDCREDITEXC}}"
                       />
            <TextBlock   Margin="5"
                             Foreground="Red"
                            Text="{Binding VKBLOCK,ElementName=cKD}"
                       />
            <CheckBox Content="{Binding Source={Localization:Translate Word=关闭此提示}}"   Foreground="Red"
                            Margin="5,0,0,0"
                          IsChecked="{Binding KDBLOCK,ElementName=cKD,Converter={StaticResource not}}"/>

        </WrapPanel>
        <Grid Grid.Row="1" Grid.Column="0"   >

            <Grid.RowDefinitions>
                <RowDefinition   Height="Auto" />
                <RowDefinition   Height="Auto" />
                <RowDefinition   Height="1*" />
                <RowDefinition   Height="1*" />
                <RowDefinition   Height="Auto" />
            </Grid.RowDefinitions>
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="1*"></ColumnDefinition>
                <ColumnDefinition Width="1*"></ColumnDefinition>
            </Grid.ColumnDefinitions>
            <U:TSJHVK04 Name="cVK02"  Grid.Row="0" Grid.Column="0" Grid.ColumnSpan="2" 
                         IsOrder="True"
                          KDBLOCK="{Binding KDBLOCK,ElementName=cKD}"   
                          IsCanDelete="{Binding IsCanDelete,ElementName=TV}" 
                          IsCanNew="{Binding IsCanNew,ElementName=TV}" 
                         IsCanChg="{Binding IsCanChg,ElementName=TV}"  
                         IsChgZA="{Binding IsChgZA,ElementName=TV}"
                          ScopeManage="{Binding ScopeManage,ElementName=TV}" 
                            ORDERNUM="{Binding VKAUF,ElementName=TV}"                          
                      />
            <WrapPanel   Grid.Row="1" Grid.Column="0" Grid.ColumnSpan="2" >
                <TextBlock Text="{Binding Source={Localization:Translate Word=付款方式}}" />
                <TextBlock Text="{Binding INFO,ElementName=cZA03}"/>
            </WrapPanel>
            <U:TSJHVKP  Grid.Row="2" Grid.Column="0" Grid.ColumnSpan="2"
                           KURS="{Binding KURS,ElementName=cVK02}"
                            VB="{Binding VB,ElementName=cVK02}"
                            SACHBE="{Binding SACHBE,ElementName=cVK02}" 
                           MinWidth="200" MinHeight="50"
                             Name="cVKP" 
                             ARTST="F" 
                            IsCheckVA="False"
                             IsPrice="True"  
                               IsChkWF="True"
                             IsAuto="True" 
                            UMLMS="M;YD;YRD;" 
                             PRART="{Binding WFART,ElementName=TV}"
                             IsCanDelete="{Binding IsCanDelete,ElementName=TV}" 
                             IsCanNew="{Binding IsCanNew,ElementName=TV}" 
                              IsCanChg="{Binding IsCanChg,ElementName=TV}" 
                             IsCanCopy="{Binding IsCanCopy,ElementName=TV}"  
                              BSTSTA="{Binding KDSTA,ElementName=cVK02}"      
                              WERT="{Binding WERT,ElementName=cVK02}"  
                              dwVKK="{Binding dwVKK,ElementName=cVK02}"  
                             IsEdit="{Binding IsEdit,ElementName=cVK02}" 
                             IsSaved="{Binding IsSaved,ElementName=cVK02}" 
                                MCOST="{Binding PSS,ElementName=coF}"
                           RATEOST="{Binding SKONP1,ElementName=cZA03}"
                           DPROD="{Binding DPROD,ElementName=cAB14WV}"  
                            IsWFFixed="{Binding IsWFFixed,ElementName=cVK02}"  
                        
                              />
            <TabControl Grid.Row="3" Grid.Column="0" Grid.ColumnSpan="2" >
                <TabItem Header="品种信息" Name="ZoneWS" >
                    <Grid>
                        <Grid.RowDefinitions>
                            <RowDefinition Height="Auto"/>
                            <RowDefinition Height="1*"/>
                        </Grid.RowDefinitions>
                        <Grid Grid.Row="0" Visibility="Collapsed">
                            <Grid.RowDefinitions>
                                <RowDefinition Height="Auto"/>
                                <RowDefinition Height="1*"/>
                            </Grid.RowDefinitions>
                            <WK:TWS31  Grid.Row="0"     Name="cWS31"
                                 IsCanLoad="{Binding IsSelected,ElementName=ZoneWS}"
                              IsAuto="True"
                               EXAUF="{Binding PRART,ElementName=cVKP}"
                               IsEdit="{Binding IsEdit,ElementName=cVA}" 
                               IsSaved="{Binding IsSaved,ElementName=cVA}"/>
                            <Grid Grid.Row="1" Grid.Column="1">
                                <Grid.RowDefinitions>
                                    <RowDefinition Height="Auto"/>
                                    <RowDefinition Height="Auto"/>
                                    <RowDefinition Height="Auto"/>
                                </Grid.RowDefinitions>

                                <BS:TBS03 Grid.Row="0" Name="cBS03"
                                  IsAuto="True"
                                  IsEdit="{Binding IsEdit,ElementName=cVA}"
                                   IsSaved="{Binding IsSaved,ElementName=cVA}"
                                   ORDERNUM="{Binding KEY,ElementName=cBS07}"  
                                  />
                                <BH:TBS04 Grid.Row="1" 
                                 IsAuto="True"
                                  IsEdit="{Binding IsEdit,ElementName=cVA}"
                                      IsSaved="{Binding IsSaved,ElementName=cVA}"
                                  ORDERNUM="{Binding KEY,ElementName=cBS07}"/>

                                <BC:TBS07 Grid.Row="2"
                                  x:Name="cBS07"
                                  IsAuto="True" 
                                    IsEdit="{Binding IsEdit,ElementName=cVA}"
                                    IsSaved="{Binding IsSaved,ElementName=cVA}"
                                  ORDERNUM="{Binding WARP,ElementName=cWS31}" 
                                  />
                            </Grid>

                        </Grid>
                        <Grid Grid.Row="1">
                            <Grid.RowDefinitions>
                                <RowDefinition Height="Auto"></RowDefinition>
                                <RowDefinition Height="1*"></RowDefinition>
                            </Grid.RowDefinitions>
                            <Grid.ColumnDefinitions>
                                <ColumnDefinition Width="1*"></ColumnDefinition>
                                <ColumnDefinition Width="1*"></ColumnDefinition>
                            </Grid.ColumnDefinitions>
                            <U:TSJHVA07 Name="cVA" 
                                        ORDERNUM="{Binding VART,ElementName=cVKP}" 
                                    />
                            <U:WSSJHBOX Grid.Row="1"  Grid.Column="0"  
                                Margin="5,0,0,0" Name="cWS" 
                                IsAuto="True" 
                                IsImage="False" 
                                DES="{Binding DES,ElementName=cVA}"  
                                ARTGRP="{Binding ARTGRP,ElementName=cVA}"  
                                PRODGRP="{Binding PRODGRP,ElementName=cVA}"  
                                ORDERNUM="{Binding PRART,ElementName=cVA}"
                                WALIEFNR="{Binding LIEFNR,ElementName=cVA}"
                                FBRTU="{Binding FBRTU,ElementName=cVA}"  
                                FBRTL="{Binding FBRTL,ElementName=cVA}"  
                                FGRLFD="{Binding FGRLFD,ElementName=cVA}"  
                                FGRQM="{Binding FGRQM,ElementName=cVA}"  
                                FFDDIK="{Binding FFDDIK,ElementName=cVA}"  
                                FFDDIS="{Binding FFDDIS,ElementName=cVA}"
                                DENUM="{Binding FDDIM,ElementName=cVA}"                      
                                IsEdit="{Binding IsEdit,ElementName=cVA}" 
                                IsSaved="{Binding IsSaved,ElementName=cVA}" 
                                IsExtProd="{Binding IsExtProd,ElementName=cVA}"
                                IsCO="True"   
                                IsWS22R="True"  
                                IsWS22T="True"  
                                IsWS22="False"   
                                IsShowRight="{Binding IsShowRight,ElementName=cVA}"
                                IsImageMax="{Binding IsImageMax,ElementName=cVA}" 
                                IMAGEPATH="{Binding IMAGEPATH,ElementName=cVA}"
                                DEFTXT="{Binding DEFWSTXT,ElementName=cVA}"/>

                            <Grid Grid.Row="1"  Grid.Column="1"  >
                                <Grid.RowDefinitions>
                                    <RowDefinition Height="1*"/>
                                    <RowDefinition Height="1*"/>
                                </Grid.RowDefinitions>
                                <BG:TSBS08 Grid.Row="0" 
                                       IsAuto="True" 
                                      IsEdit="{Binding IsEdit,ElementName=cVA}" 
                                      IsSaved="{Binding IsSaved,ElementName=cVA}" 
                                       FAKTOR="{Binding FAKTOR,ElementName=cBS03}"
                                       EXAUF="{Binding WARP,ElementName=cWS31}"
                                       WEIGHT="{Binding WKG,ElementName=cWS}"   
                                        WARPENDS ="{Binding WARPENDS,ElementName=cWS}" 
                                     />
                                <WS33:TWS33 Grid.Row="1"  
                                      IsAuto="True" 
                                      IsEdit="{Binding IsEdit,ElementName=cVA}" 
                                      IsSaved="{Binding IsSaved,ElementName=cVA}" 
                                      DENUM="{Binding DENUM,ElementName=cWS}" 
                                      RWBRT="{Binding RWBRT,ElementName=cWS}" 
                                      RBRTOL="{Binding RBRTOL,ElementName=cWS}"  
                                      GFDISM="{Binding GFDISM,ElementName=cWS}"  
                                      WEIGHT="{Binding FKG,ElementName=cWS}"  
                                      WTKEY="{Binding WTKEY,ElementName=cWS}" 
                                      EXAUF="{Binding PRART,ElementName=cVKP}" 
                                     />
                            </Grid>


                        </Grid>
                    </Grid> 
                </TabItem>
                <TabItem  Header="{Binding Source={Localization:Translate Word=备注/合同扫描}}"  Name="ZoneRemark">
                    <Grid>
                        <Grid.ColumnDefinitions>
                            <ColumnDefinition Width="2*"/>
                            <ColumnDefinition Width="1*"/>
                        </Grid.ColumnDefinitions>
                        <TXT:TXTITXBOX Grid.Column="1" Margin="0,0,0,0" 
                                          Name="SPT"
                                         TART="VKP"
                                         IsInfoOneLine="True"
                                         IsTXTBox="True" 
                                           IsEdit="{Binding IsEdit,ElementName=cVK02}"   
                                         IsSaved="{Binding IsSaved,ElementName=cVK02}" 
                                         SIND="{Binding TXTISIND,ElementName=cVK02}"   
                                         INFO="{Binding INFO,ElementName=cVK02}"   
                                         VerticalAlignment="Top"/>

                        <FL:TDOCIMG Grid.Column="0"
                                EXAUF="{Binding AUF,ElementName=cVKP}"
                                />
                    </Grid>

                </TabItem>
                <TabItem Header="附加费" Name="cADD">
                    <ZB:TVKZUAB  Name="cZBP" 
                        Margin="10"
                        IsAuto="True"   
                        MaxHeight="300" 
                        VKZSA="VK"
                       ORDERNUM="{Binding AUF,ElementName=cVKP}" 
                       EXCOM="{Binding MYCOM,ElementName=cVKP}" 
                       EXBON="{Binding MYBON,ElementName=cVKP}"
                      />
                </TabItem>
                <TabItem Header="生产发货信息" Name="cDEL">
                    <Grid>
                        <Grid.ColumnDefinitions>
                            <ColumnDefinition Width="1*"></ColumnDefinition>
                            <ColumnDefinition Width="1*"></ColumnDefinition>
                        </Grid.ColumnDefinitions>
                        <VVT:TVVTLIEF  Grid.Column="0"  Name="cVVT"  
                                 IsWBREQ="False"  
                                 IsAuto="False" 
                                           IsCanLoad="{Binding IsSelected,ElementName=cDEL}"
                                 VKP="{Binding AUF,ElementName=cVKP}"
                               />
                        <StackPanel  Grid.Row="0" Grid.Column="1">
                            <WD:TWDECK  Name="cWD"   
                                            IsCanLoad="{Binding IsSelected,ElementName=cDEL}"
                                    ORDERNUM="{Binding AUF,ElementName=cVKP}"
                                    IsOrder="True"
                                   />
                            <WG:TWGBST dwWD="{Binding dwWD,ElementName=cVKP}"/>
                        </StackPanel>
                    </Grid>
                </TabItem>

                <TabItem Header="付款方式" Name="ZoneZA">
                    <StackPanel>
                        <ZA:TZA03  Name="cZA03"
                    ORDERNUM="{Binding ZAHLBED,ElementName=cVK02}"  />
                    </StackPanel>
                </TabItem>
                <TabItem Header="客户信息" Name="ZoneKD">

                    <KD:TKD Grid.Row="0" Name="cKD"
                           IsCanLoad="{Binding IsSelected,ElementName=ZoneKD}"
                            ORDERNUM="{Binding KUNDNR,ElementName=cVK02}"   
                            />
                </TabItem>
                <TabItem Header="发票信息" Name="ZoneInv">
                    <VRP:TVR05 Grid.Row="3" ARTST="F" Name="cVR05"
                          IsFilterByVKP="True"
                          MaxHeight="300"
                          IsAuto="False"
                         IsCanPay="False"
                           IsVVPay="False"
                           IsRest="False"
                           IsMPay="False"
                          RENR="{Binding KEY,ElementName=cVRK}"
                          dwZB="{Binding dwZB,ElementName=cZBP}"  
                          dwVKP="{Binding dwVKP,ElementName=cVKP}"  
                         />
                </TabItem>

                <TabItem Header="成本评估" Name="cCO">
                    <Grid>
                        <Grid.RowDefinitions>
                            <RowDefinition Height="Auto"/>
                            <RowDefinition Height="1*"/>
                            <RowDefinition Height="Auto"/>
                        </Grid.RowDefinitions>
                        <StackPanel>
                            <WrapPanel>
                                <Button Margin="10,0,0,0" Content="自动计算原料需求" Click="StartABCommand"/>
                                <TextBlock Margin="10,0,0,0"  Text="评估单号:"/>
                                <TextBlock Margin="10,0,0,0"  Text="{Binding EXORD,ElementName=TV}"/>
                                <Button Margin="10,0,0,0" Content="利润估算" Click="StartKACommand"/> 
                                <TextBlock Margin="10,0,0,0"  Text="{Binding INFO,ElementName=TV}"  Background="Yellow"/>
                              
                            </WrapPanel>
                            <MU:TVKMU Name="cMU"
                                    VKAUF="{Binding AUF,ElementName=cVKP}"
                                          ABAUF="{Binding ABAUF,ElementName=TV}"
                                          />
                        </StackPanel>
                        <Grid Grid.Row="1">
                            <Grid.RowDefinitions>
                                <RowDefinition Height="Auto"/>
                                <RowDefinition Height="Auto"/>
                                <RowDefinition Height="Auto"/>
                                <RowDefinition Height="Auto"/>
                            </Grid.RowDefinitions>
                            <Grid.ColumnDefinitions>
                                <ColumnDefinition Width="Auto"></ColumnDefinition>
                                <ColumnDefinition Width="1*"></ColumnDefinition>
                            </Grid.ColumnDefinitions>
                            <WrapPanel Grid.Column="0" Grid.Row="0" >
                                <TextBlock  Text="整理/销售费用"/>
                                <CO:TMCO03FN Name="coF"
                                    EXAUF="{Binding ABAUF,ElementName=cRZ}"
                                />
                            </WrapPanel>
                            <AR:TAB14FNVK Grid.Column="0" Grid.Row="1"  
                               IsEdit="{Binding IsEdit,ElementName=cWD}" 
                               IsSaved="{Binding IsSaved,ElementName=cWD}" 
                                ORDERNUM="{Binding KEY,ElementName=cRZ}"/>
                            <WrapPanel Grid.Column="1" Grid.Row="0">
                                <TextBlock  Text="织造费用"/>
                                <CO:TMCO03 Name="coR"
                                    EXAUF="{Binding ABAUF,ElementName=cDI}"
                                />
                            </WrapPanel>

                            <AR:TAB14WV Grid.Column="1" Grid.Row="1" 
                                    Name="cAB14WV"
                                    IsEdit="{Binding IsEdit,ElementName=cWD}"  
                                      IsSaved="{Binding IsSaved,ElementName=cWD}"  
                                     LOOMCOST="200"
                                      ORDERNUM="{Binding KEY,ElementName=cDI}" 
                                    />
                            <MUX:TMCO07  Grid.Column="1" Grid.Row="2" 
                                 MTYPE="G"
                                 EXAUF="{Binding ABAUF,ElementName=cDI}"
                                />
                            <MUX:TMCO07  Grid.Column="1" Grid.Row="3" 
                                 MTYPE="G"
                                EXAUF="{Binding ABAUF,ElementName=cVW}"
                                />
                        </Grid>
                        <Grid Grid.Row="2" Visibility="Collapsed">
                            <Grid.ColumnDefinitions>
                                <ColumnDefinition Width="1*"></ColumnDefinition>
                                <ColumnDefinition Width="1*"></ColumnDefinition>
                                <ColumnDefinition Width="1*"></ColumnDefinition>
                            </Grid.ColumnDefinitions>
                            <AB:TAB05RZ  Grid.Column="0"  POSTYP="VA "
                                         MAKE2ORD="True"  
                                          IsDI="True"
                                           Name="cRZ" 
                                          dwWS="{Binding dwWS,ElementName=cWS}" 
                                           IsAuto="True" 
                                          EXAUF="{Binding EXORD,ElementName=TV}"
                                           />
                            <AB:TWAB55DI   Grid.Column="1"  
                                        POSTYP="DI "
                                         Name="cDI"
                                         MAKE2ORD="True"
                                    IsAuto="False" 
                                          dwWS="{Binding dwWS,ElementName=cWS}" 
                                        />
                            <AB:TWAB45  Grid.Column="2"  
                                    POSTYP="VW "
                                    Name="cVW"
                                      IsAuto="False" 
                                     MAKE2ORD="True" 
                                   IsABPCreated="{Binding IsChanged,ElementName=TV}" 
                             />
                        </Grid>
                    </Grid>

                </TabItem>
                <TabItem Header="原料管理" Name="ZoneMat">
                    <Grid>
                        <Grid.ColumnDefinitions>
                            <ColumnDefinition Width="1*"/>
                            <ColumnDefinition Width="1*"/>
                        </Grid.ColumnDefinitions>
                        <Grid.RowDefinitions>
                            <RowDefinition Height="Auto"/>
                            <RowDefinition Height="Auto"/>
                        </Grid.RowDefinitions>
                        <U:TGD7X3  Grid.Row="1"
                                   GASA="723"
                                     IsEdit="{Binding IsEdit,ElementName=cVK02}"   
                                         IsSaved="{Binding IsSaved,ElementName=cVK02}"
                               IsCanLoad="{Binding IsSelected,ElementName=ZoneMat}"
                           EXAUF="{Binding ABAUF,ElementName=cDI}"   />
                        <U:TGD7X3  Grid.Row="0"  
                                   GASA="723"
                                     IsEdit="{Binding IsEdit,ElementName=cVK02}"   
                                         IsSaved="{Binding IsSaved,ElementName=cVK02}"
                               IsCanLoad="{Binding IsSelected,ElementName=ZoneMat}"
                           EXAUF="{Binding ABAUF,ElementName=cVW}"/>
                    </Grid>

                </TabItem>
                <TabItem Header="审批/变更">
                    <U:TWFVKPSJH EXAUF="{Binding KEY,ElementName=cVKP}"/>

                </TabItem>
            </TabControl>
        </Grid>

        <Expander ExpandDirection="Right" Header="发票" Grid.Row="0" Grid.RowSpan="3" Grid.Column="1">
            <Grid>
                <Grid.RowDefinitions>
                    <RowDefinition Height="Auto"></RowDefinition>
                    <RowDefinition Height="Auto"></RowDefinition>
                    <RowDefinition Height="Auto"></RowDefinition>
                    <RowDefinition Height="Auto"></RowDefinition>
                    <RowDefinition Height="Auto"></RowDefinition>
                    <RowDefinition Height="Auto"></RowDefinition>
                </Grid.RowDefinitions>
                <VRP:TVKKVR05 Grid.Row="1" 
                     VKK="{Binding AUF,ElementName=cVKP}" 
                   IsAuto="False"  />
                <VR:TVR04  Grid.Row="2" Name="cVRK" 
                        IsAuto="{Binding IsAutoVRK,ElementName=cVK02}"
                        VKK="{Binding AUF,ElementName=cVK02}"
                        KEY="{Binding RENR,ElementName=cVK02}" 
                        />

            </Grid>
        </Expander>
        <WrapPanel Grid.Row="5">
            <WD:TPWD02 Grid.Row="0" Grid.Column="0" Grid.ColumnSpan="2"
                       Visibility="Collapsed"
                       LIEFNR="{Binding LIEFNR,ElementName=cVK02}"
                       IsAuto="{Binding IsAutoEK,ElementName=cVK02}" 
                       EKAUF="{Binding EKAUF,ElementName=cVK02}"
                       VKK="{Binding AUF,ElementName=cVK02}"/>
        </WrapPanel>
    </Grid>
</U:PRJVK>
    
